package com.xtpt.disaster.common;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author jack_xin
 * @ClassName JavaChaoClientInfo
 * @Desc 獲取超哥客戶端的端口號以及接口路徑
 * @date 2021年12月07日 11:25
 * @Version TODO
 */
@Component
@PropertySource("classpath:config/agent.properties")
public class AgentInfo {
    @Value("${agent.client.port}")
    private Integer clientPort;

    @Value("${agent.client.path}")
    private String clientPath;

    @Value("${agent.client.route}")
    private String clientTestPath;

    public Integer getClientPort() {
        return clientPort;
    }

    public void setClientPort(Integer clientPort) {
        this.clientPort = clientPort;
    }

    public String getClientPath() {
        return clientPath;
    }

    public void setClientPath(String clientPath) {
        this.clientPath = clientPath;
    }

    public String getClientTestPath() {
        return clientTestPath;
    }

    public void setClientTestPath(String clientTestPath) {
        this.clientTestPath = clientTestPath;
    }
}
